var projetDreamInterventions = {
    initListeInterventions: function(){
        var getInterventionsUrl = projetDream.webservicesBaseUrl + "webservice/getAllInterventions";
        var req = $.ajax({
            url: getInterventionsUrl,
            dataType: "json"
        });
        req.done(function (result) {
            require(['jsrender'], function () {
                var toRender = {
                    interventions: result
                };
                var interventionsTemplate = $("#listeInterventionsTemplate");
                var interventionsDiv = $("#listeInterventionsDiv");
                interventionsDiv.html(interventionsTemplate.render(toRender));
            });
        });
    }
};